﻿using System;
using System.Collections.Generic;
using NUnit.Framework;

namespace Zove.Test {

    [TestFixture]
    public class StringTests : AbstractTests {

        [Test]
        public void TestSubstring() {
            base.TestExpression(
                "substr(\"hello, world\", 2, 3)", "llo");
        }

        [Test]
        public void TestReplace() {
            base.TestExpression(
                "replace(\"hello, world\", \"world\", \"kitty\")", "hello, kitty");
        }
    }
}
